package org.jeecg.adn.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 报警操作记录
 * @Author: LiCY
 * @Date:   2025-03-31
 * @Version: V1.0
 */
@Data
@TableName("adn_record_his")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="adn_record_his对象", description="报警操作记录")
public class AdnRecordHis implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键ID*/
	@Excel(name = "主键ID", width = 15)
    @ApiModelProperty(value = "主键ID")
    private Integer recId;
	/**更新时间*/
	@Excel(name = "更新时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date ctime;
	/**报警记录主键*/
	@Excel(name = "报警记录主键", width = 15)
    @ApiModelProperty(value = "报警记录主键")
    private Integer recordid;
	/**处理人ID*/
	@Excel(name = "处理人ID", width = 15)
    @ApiModelProperty(value = "处理人ID")
    private String userid;
	/**处理人账号*/
	@Excel(name = "处理人账号", width = 15)
    @ApiModelProperty(value = "处理人账号")
    private String username;
	/**处理结果 1:完成 2：未完成*/
	@Excel(name = "处理结果 1:完成 2：未完成", width = 15)
    @ApiModelProperty(value = "处理结果 1:完成 2：未完成")
    private String result;
	/**开始时间*/
	@Excel(name = "开始时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "开始时间")
    private Date stime;
	/**完成时间*/
	@Excel(name = "完成时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "完成时间")
    private Date etime;
	/**处理时间(秒)*/
	@Excel(name = "处理时间(秒)", width = 15)
    @ApiModelProperty(value = "处理时间(秒)")
    private Integer costtime;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
}
